home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15111 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: yama.mcc.ac.uk!dmu!c4ab1
  2. From: c4ab1@dmu.ac.uk (Andrew Buckby)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: big endian, little endian
  5. Date: 17 Apr 1996 09:08:32 GMT
  6. Organization: De Montfort University, Leicester
  7. Message-ID: <4l2ceg$ill@macondo.dmu.ac.uk>
  8. References: <4ku9dm$t1t@news.ycc.yale.edu> <829609443snz@willen.demon.co.uk>
  9. NNTP-Posting-Host: ironbark.cms.dmu.ac.uk
  10.  
  11. In article <829609443snz@willen.demon.co.uk>, Adrian Parker
  12. <adrian@willen.demon.co.uk> writes:
  13. > In article <4ku9dm$t1t@news.ycc.yale.edu>
  14. >            rmurphy@minerva.cis.yale.edu "rmurphy" writes:
  15. > > Hi.  I'm a graduate student doing research in computer music, and i
  16. > > have a small tech question I can't seem to get answered in the c
  17. > > reference books.  What is the difference between big-endian and
  18. > > little-endian?  I know it relates somehow to signed/unsigned integers,
  19. > > and the division between ibm & 68k-based platforms, but have no clue
  20. > > beyond that.  Thanks.
  21. > > rmurphy@minerva.cis.yale.edu
  22. It the way inwhich number are stored in bytes. I may be wrong but I think that 
  23. Intel stores the highest bit on the right and the lowest on the left, 68000 and
  24. most UNIX machines store it the other way with the highest bit on the left.
  25.  
  26. intel   64 32 16 8 4 2 1      others  1 2 4 8 16 32 64
  27.  
  28.  
  29.